﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DataAccessLayer;
using Entities;

namespace Bussiness {
    public class SanPhamBussiness {
        public DataTable getProducts() {
            SanPhamRepository repository = new SanPhamRepository();
            return repository.getProducts();
        }

        public int insertContract(String contractType, float price, String employeeID, String termID) {
           // ContractDAO re = new ContractDAO();
           // return re.insert(contractType, price, employeeID, termID);
            return -1;
        }
    }
}
